bf9c6f919a7323d02af5e4197b3704fdaa0936d6,com.vainolo.phd.opp.editor/src/com/vainolo/phd/opp/editor/policy/OPPLinkConnectionEditPolicy.java,OPPLinkConnectionEditPolicy,handleOPMStructuralLinkRequest,#CreateConnectionRequest#,133

Before Change



    if (aggregatorFound) {
      // Just create a link from the aggregator to the target.
      command = createCreateOPMLlinkCreateCommand(agrNode, tNode, analyzer.findOPD(agrNode));
    } else {
      // Create a compound command consisting of three commands.
      CompoundCommand cCommand = new CompoundCommand();

After Change



    if (aggregatorFound) {
      CompoundCommand cCommand = new CompoundCommand();
      OPPCreateLinkCommand linkCreateCommand = createCreateOPMLlinkCreateCommand(agrNode, tNode, analyzer.findOPD(agrNode));
      cCommand.add(linkCreateCommand);
      // cCommand.add(createInitialStructuralLinkBendpointComman(agrNode, tNode, linkCreateCommand.getLink()));
      command = cCommand;
    } else {